//
//  SystemMessage.h
//  NewChat
//
//  Created by songKX on 16/3/15.
//  Copyright © 2016年 蓝鸥. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum{
  
    SystemMessageTypeFriendAccept = 0,//好友申请 ------ 1
    SystemMessageTypeAgreeFriendAccept = 1,//同意好友请求
    SystemMessageTypeDisagreeAccept = 2,//不同意好友请求
    SystemMessageTypeDisagreeByFriend = 3,//好友请求被拒绝 ----- 1
    SystemMessageTypeAgressByFriend = 4,//好友请求被同意 ---- 1
    SystemMessageTypeDeleteFriend = 5,//删除好友
    SystemMessageTypeDeleteByFriend = 6,//被好友删除
    
    
}SystemMessageType;


@interface SystemMessage : NSObject

//系统消息的发送人/接收人
@property (nonatomic , strong)NSString *accepter;

//消息时间
@property (nonatomic , strong)NSString *timeStamp;

//消息类型
@property (nonatomic , assign)SystemMessageType systemMessageType;

//系统消息的发送实体
@property (nonatomic ,strong)AVObject *accepterObject;

@property (nonatomic , strong) NSString *message;

//设置消息内容
-(void)setMessageTextWithType:(SystemMessageType)type;

//设置消息时间

-(void)setAcceptTimeStamp;

@end
